import 'dart:ui';

import 'package:get/get.dart';
import 'package:webview_flutter/webview_flutter.dart';
/**
 * GetX Template Generator - fb.com/htngu.99
 * */

class agreeController extends GetxController{
  var controller = WebViewController()
    ..setJavaScriptMode(JavaScriptMode.unrestricted)
    ..enableZoom(false)
    ..setBackgroundColor(const Color(0x00000000))
  ;
  @override
  void onInit() {
    super.onInit();
    var content=Get.arguments["content"];
    controller.loadHtmlString(content);
  }
}
